package thread;

import java.sql.SQLOutput;

public class SleepDemo {
    public static void main(String[] args) {
        System.out.println("程序开始了...");

        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.getStackTrace();
        }
        System.out.println("程序结束了...");
    }
}
